<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Error Page</title>
    <style>
        .error-message {
            margin: 20px auto;
            padding: 10px 20px;
            border: 1px solid #f00;
            border-radius: 5px;
            background-color: #fee;
            color: #f00;
            font-size: 16px;
            text-align: center;
            max-width: 500px;
        }

        .error-message h2 {
            margin-top: 0;
            font-size: 20px;
            font-weight: bold;
        }

        .error-message p {
            margin: 10px 0;
            line-height: 1.5;
        }

        .error-message a {
            color: #f00;
            font-weight: bold;
            text-decoration: none;
        }

        .error-message a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>

<div class="error-message">
    <h2>操作失败！</h2>
    <p th:text="${message}"></p>
    <p><a href="/company" title="返回首页">返回上一页</a></p>
</div>
</body>
</html>
